package com.dianning.web.action.thing;

import java.util.List;
import org.apache.commons.logging.*;

import com.dianning.service.ParameterService;
import com.dianning.web.action.BaseAction;

public class Index extends BaseAction{

	private static final Log logger = LogFactory.getLog(Index.class);
	
	private ParameterService parameterService;
	
	public ParameterService getParameterService() {
		return parameterService;
	}

	public void setParameterService(ParameterService parameterService) {
		this.parameterService = parameterService;
	}
	
	private List thingBookType;
	private List thingCarType;
	private List thingCareType;
	private List thingChufangdianqiType;
	private List thingCollectionType;
	private List thingDajiadianType;
	private List thingDiangongType;
	private List thingDigitalType;
	private List thingFitmentType;
	private List thingHardwareType;
	private List thingJiazhuangType;
	private List thingKitchenwareType;
	private List thingMachineType;
	private List thingOfficeType;
	private List thingPcfittingType;
	private List thingPcType;
	private List thingSexType;
	private List thingShenghuodianqiType;
	private List thingSpacevideoType;
	private List thingStudentType;
	private List thingToyType;
	private List thingVpType;
	private List thingWentiType;
	private List thingNumberType;
	private List thingOtherType;
	private List thingYuanliaoType;
	private List thingJiafangType;
	private List thingZhuangxiuType;
	

	public List getThingBookType() {
		return thingBookType;
	}

	public void setThingBookType(List thingBookType) {
		this.thingBookType = thingBookType;
	}

	public List getThingCarType() {
		return thingCarType;
	}

	public void setThingCarType(List thingCarType) {
		this.thingCarType = thingCarType;
	}

	public List getThingCareType() {
		return thingCareType;
	}

	public void setThingCareType(List thingCareType) {
		this.thingCareType = thingCareType;
	}

	public List getThingChufangdianqiType() {
		return thingChufangdianqiType;
	}

	public void setThingChufangdianqiType(List thingChufangdianqiType) {
		this.thingChufangdianqiType = thingChufangdianqiType;
	}

	public List getThingCollectionType() {
		return thingCollectionType;
	}

	public void setThingCollectionType(List thingCollectionType) {
		this.thingCollectionType = thingCollectionType;
	}

	public List getThingDajiadianType() {
		return thingDajiadianType;
	}

	public void setThingDajiadianType(List thingDajiadianType) {
		this.thingDajiadianType = thingDajiadianType;
	}

	public List getThingDiangongType() {
		return thingDiangongType;
	}

	public void setThingDiangongType(List thingDiangongType) {
		this.thingDiangongType = thingDiangongType;
	}

	public List getThingDigitalType() {
		return thingDigitalType;
	}

	public void setThingDigitalType(List thingDigitalType) {
		this.thingDigitalType = thingDigitalType;
	}

	public List getThingFitmentType() {
		return thingFitmentType;
	}

	public void setThingFitmentType(List thingFitmentType) {
		this.thingFitmentType = thingFitmentType;
	}

	public List getThingHardwareType() {
		return thingHardwareType;
	}

	public void setThingHardwareType(List thingHardwareType) {
		this.thingHardwareType = thingHardwareType;
	}

	public List getThingJiazhuangType() {
		return thingJiazhuangType;
	}

	public void setThingJiazhuangType(List thingJiazhuangType) {
		this.thingJiazhuangType = thingJiazhuangType;
	}

	public List getThingKitchenwareType() {
		return thingKitchenwareType;
	}

	public void setThingKitchenwareType(List thingKitchenwareType) {
		this.thingKitchenwareType = thingKitchenwareType;
	}

	public List getThingMachineType() {
		return thingMachineType;
	}

	public void setThingMachineType(List thingMachineType) {
		this.thingMachineType = thingMachineType;
	}

	public List getThingOfficeType() {
		return thingOfficeType;
	}

	public void setThingOfficeType(List thingOfficeType) {
		this.thingOfficeType = thingOfficeType;
	}

	public List getThingPcfittingType() {
		return thingPcfittingType;
	}

	public void setThingPcfittingType(List thingPcfittingType) {
		this.thingPcfittingType = thingPcfittingType;
	}

	public List getThingPcType() {
		return thingPcType;
	}

	public void setThingPcType(List thingPcType) {
		this.thingPcType = thingPcType;
	}

	public List getThingSexType() {
		return thingSexType;
	}

	public void setThingSexType(List thingSexType) {
		this.thingSexType = thingSexType;
	}

	public List getThingShenghuodianqiType() {
		return thingShenghuodianqiType;
	}

	public void setThingShenghuodianqiType(List thingShenghuodianqiType) {
		this.thingShenghuodianqiType = thingShenghuodianqiType;
	}

	public List getThingSpacevideoType() {
		return thingSpacevideoType;
	}

	public void setThingSpacevideoType(List thingSpacevideoType) {
		this.thingSpacevideoType = thingSpacevideoType;
	}

	public List getThingStudentType() {
		return thingStudentType;
	}

	public void setThingStudentType(List thingStudentType) {
		this.thingStudentType = thingStudentType;
	}

	public List getThingToyType() {
		return thingToyType;
	}

	public void setThingToyType(List thingToyType) {
		this.thingToyType = thingToyType;
	}

	public List getThingVpType() {
		return thingVpType;
	}

	public void setThingVpType(List thingVpType) {
		this.thingVpType = thingVpType;
	}

	public List getThingWentiType() {
		return thingWentiType;
	}

	public void setThingWentiType(List thingWentiType) {
		this.thingWentiType = thingWentiType;
	}

	public List getThingNumberType() {
		return thingNumberType;
	}

	public void setThingNumberType(List thingNumberType) {
		this.thingNumberType = thingNumberType;
	}

	public List getThingOtherType() {
		return thingOtherType;
	}

	public void setThingOtherType(List thingOtherType) {
		this.thingOtherType = thingOtherType;
	}

	public List getThingYuanliaoType() {
		return thingYuanliaoType;
	}

	public void setThingYuanliaoType(List thingYuanliaoType) {
		this.thingYuanliaoType = thingYuanliaoType;
	}

	public List getThingJiafangType() {
		return thingJiafangType;
	}

	public void setThingJiafangType(List thingJiafangType) {
		this.thingJiafangType = thingJiafangType;
	}

	public List getThingZhuangxiuType() {
		return thingZhuangxiuType;
	}

	public void setThingZhuangxiuType(List thingZhuangxiuType) {
		this.thingZhuangxiuType = thingZhuangxiuType;
	}

	public String execute() {
		this.setThingBookType(this.getParameterService().findParameters("thingBookType", 2, null,"orders", 0));
		this.setThingCareType(this.getParameterService().findParameters("thingCareType", 2, null,"orders", 0));
		this.setThingCarType(this.getParameterService().findParameters("thingCarType", 2, null,"orders", 0));
		this.setThingChufangdianqiType(this.getParameterService().findParameters("thingChufangdianqiType", 2, null,"orders", 0));
		this.setThingCollectionType(this.getParameterService().findParameters("thingCollectionType", 2, null,"orders", 0));
		this.setThingDajiadianType(this.getParameterService().findParameters("thingDajiadianType", 2, null,"orders", 0));
		this.setThingDiangongType(this.getParameterService().findParameters("thingDiangongType", 2, null,"orders", 0));
		this.setThingDigitalType(this.getParameterService().findParameters("thingDigitalType", 2, null,"orders", 0));
		this.setThingFitmentType(this.getParameterService().findParameters("thingFitmentType", 2, null,"orders", 0));
		this.setThingHardwareType(this.getParameterService().findParameters("thingHardwareType", 2, null,"orders", 0));
		this.setThingJiazhuangType(this.getParameterService().findParameters("thingJiazhuangType", 2, null,"orders", 0));
		this.setThingKitchenwareType(this.getParameterService().findParameters("thingKitchenwareType", 2, null,"orders", 0));
		this.setThingMachineType(this.getParameterService().findParameters("thingMachineType", 2, null,"orders", 0));
		this.setThingOfficeType(this.getParameterService().findParameters("thingOfficeType", 2, null,"orders", 0));
		this.setThingPcType(this.getParameterService().findParameters("thingPcType", 2, null,"orders", 0));
		this.setThingPcfittingType(this.getParameterService().findParameters("thingPcfittingType", 2, null,"orders", 0));
		this.setThingSexType(this.getParameterService().findParameters("thingSexType", 2, null,"orders", 0));
		this.setThingShenghuodianqiType(this.getParameterService().findParameters("thingShenghuodianqiType", 2, null,"orders", 0));
		this.setThingSpacevideoType(this.getParameterService().findParameters("thingSpacevideoType", 2, null,"orders", 0));
		this.setThingStudentType(this.getParameterService().findParameters("thingStudentType", 2, null,"orders", 0));
		this.setThingToyType(this.getParameterService().findParameters("thingToyType", 2, null,"orders", 0));
		this.setThingVpType(this.getParameterService().findParameters("thingVpType", 2, null,"orders", 0));
		this.setThingWentiType(this.getParameterService().findParameters("thingWentiType", 2, null,"orders", 0));
		this.setThingNumberType(this.getParameterService().findParameters("thingNumberType", 2, null,"orders", 0));
		this.setThingOtherType(this.getParameterService().findParameters("thingOtherType", 2, null,"orders", 0));
		this.setThingYuanliaoType(this.getParameterService().findParameters("thingYuanliaoType", 2, null,"orders", 0));
		this.setThingJiafangType(this.getParameterService().findParameters("thingJiafangType", 2, null,"orders", 0));
		this.setThingZhuangxiuType(this.getParameterService().findParameters("thingZhuangxiuType", 2, null,"orders", 0));
		return SUCCESS;
	}
}
